package com.design.facade;

/**
 * @author cxx
 * @create 2020-04-21 13:33
 **/
public class Main {

    public static void main(String[] args) {

        Car car = new Car ();
        Aircraft aircraft = new Aircraft ();
        Train train = new Train ();
        VehicleFacades facades = new VehicleFacades (car, aircraft, train);
        facades.carTrip ();
        facades.aircraftTrip ();
        facades.trainTrip ();

    }

}
